<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        @keyframes move {
            0% { transform: translateX(0); }
            50% { transform: translateX(200px); }
            100% { transform: translateX(0); }
        }

        .box {
            width: 100px;
            height: 100px;
            background-color: red;
            animation: move 2s infinite;
        }
    </style>
</head>
<body>
<div class="box"></div>
</body>
</html>